﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Workorders
{
    /// <summary>
    /// 销售退货
    /// </summary>
    public class Saless
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 退货单号
        /// </summary>
        public string SalesCode {  get; set; }
        /// <summary>
        /// 退货状态
        /// </summary>
        public int SalesState {  get; set; }
        /// <summary>
        /// 退货日期
        /// </summary>
        public DateTime? SalesTime {  get; set; }
        /// <summary>
        /// 货品单号--外键
        /// </summary>
        public int GoodId {  get; set; }
        /// <summary>
        /// 销售部门
        /// </summary>
        public string Dept {  get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string User {  get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public int SalesCount {  get; set; }
        /// <summary>
        /// 退货金额
        /// </summary>
        public decimal Salesprice {  get; set; }
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
